import request from '@/config/request';

// 获取设备列表
export function deviceList (data: any): Promise<any> {
  return request({
    url: '/busines/user/equipment/list',
    method: 'GET',
    data
  })
}


// 获取设备统计
export function deviceStats<T>(): Promise<{data: T}> {
  return request({
    url: '/busines/user/equipment/stats',
    method: 'GET',
  })
}